<script>
import { getToken, getCurrentPath } from "@/utils";
export default {
    onLaunch: function () {
        console.log("App Launch");
    },
    onShow: function () {
        console.log("App Show");
        if (!getToken()) {
            uni.reLaunch({ url: "/pages/login/index" });
        }
    },
    onHide: function () {
        console.log("App Hide");
    },
};
</script>

<style lang="scss">
/*每个页面公共css */
@import "@/uni_modules/uview-ui/index.scss";

.pages-index-index {
    .uni-picker-container {
        z-index: 999999 !important;
    }
}
</style>
